package com.lili.operate.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lili.model.operate.NoticeMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface NoticeMessageService {

    /**
     * 分页查询所有的noticeMessage
     * @param map
     * @return
     */
    public Page<NoticeMessage> queryNoticeMessage(Map map);

    /**
     * 更新关闭开启操作
     * @return
     */
    public int updateStatus(long id,String noticeStatus);

    /**
     * 更新noticeMessage
     * @param noticeMessage
     * @return
     */
    public int updateNoticeMessage(NoticeMessage noticeMessage);
}
